
package za.ac.cput.peter.SoftwareDesignPrincipals.PLK.PLKFix.Impl;


public class Student implements Details
{
    private int studNum;
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getStudNum() {
        return studNum;
    }

    public void setStudNum(int studNum) {
        this.studNum = studNum;
    }
    

    @Override
    public String getStudDetails() { return studNum +""+ name; }   
    
}